<template>
	<view class="content">
        <view class="user-bg-box" >
			<!-- 背景 -->
			<image :src="bg" class="bg" mode="widthFix"></image>

			<view class="u-flex user-box u-p-l-30 u-p-r-20 " >
				<!-- 搜索模块 -->
				<view class="search-box">
					<u-search :show-action="false" disabled placeholder="输入企业名称" :height="74" @click="$u.route('pages/search/search')"></u-search>
				</view>
				<!-- 搜索模块 -->
			</view>
		</view>

		<view class="list">
			
			<!-- 项目模块 -->
			<view class="item" v-for="(item,index) in 40" :key="index" @click="$u.route('pages/serve/detail')">
				<view class="container" >
					<text class="title">上海寻梦信息技术有限公司</text>
					<!-- <view v-if="item.thumb" class="img-wrapper">
						<image class="pic" :src="getImgUrl(item.thumb)" mode="aspectFill"></image>
					</view> -->
					<view class="bot b-t">
						<text>查看详情</text>
						<u-icon name="arrow-right" class="icon-you"></u-icon>
					</view>
				</view>
			</view>
			<!-- 项目模块 -->
		 
			 
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
                bg:'/static/images/user/mine_bg_3x.png'
			}
		}
	}
</script>


<style lang="scss" scoped>
	.content {
		.user-bg-box{
			width: 100%;
			height: 272rpx;
			position: relative;
			display: flex;
			flex-direction: column;
	
			image.bg {
				width: 100%;
				height: 272rpx !important;
				position: absolute;
			}
	
			.user-box{
				z-index: 1;
				position: relative;
				margin: auto 0;

				.search-box{
					padding: 18rpx 10rpx;
					width: 100%;
				}
			}
		}
		
		.item {
			display: flex;
			flex-direction: column;
			align-items: center;
			background-color: #FFFFFF;
			margin-top: 20rpx;
			
			.time {
				display: flex;
				align-items: center;
				justify-content: center;
				height: 80rpx;
				padding-top: 10rpx;
				font-size: 26rpx;
				color: #7d7d7d;
			}
			
			.container {
				width: 100%;
				padding: 24rpx 24rpx 0 24rpx;
				
				.title {
					display: flex;
					align-items: center;
					height: 90rpx;
					font-size: 32rpx;
					color: #303133;
					font-weight: 700;
				}
				
				.img-wrapper {
					width: 100%;
					height: 280rpx;
					margin-bottom: 16rpx;
					position: relative;
				}
				
				.pic {
					display: block;
					width: 100%;
					height: 100%;
					border-radius: 6rpx;
				}
				.introduce-wrap{
					padding-bottom: 20rpx;
					
					.introduce {
						font-size: 28rpx;
						color: #606266;
						line-height: 40rpx;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 3;
						overflow: hidden;
					}
					&.has-pic .introduce{
						-webkit-line-clamp: 2;
					}
				}
				
				.bot {
					display: flex;
					align-items: center;
					justify-content: space-between;
					height: 80rpx;
					font-size: 24rpx;
					color: #707070;
					position: relative;
				}
				
				.icon-you {
					font-size: 24rpx;
				}
				
				.b-t:before{
					position: absolute;
					z-index: 3;
					left: 0;
					top: 0;
					right: 0;
					height: 0;
					content: '';
					transform: scaleY(.5);
					border-bottom: 1px solid #e5e5e5;
				}
			}
			
		}
		
	}
	
</style>
